<?php get_header();?>
<!-- 页面布局开始 -->
		<div class="layui-content">
			<div class="layui-container  text-rp-content">
				<div class="layui-row main">
					<div class="layui-col-md12 layui-col-lg12">
		<div class="layui-anim layui-anim-downbit">
					<div class="text">
						<!-- 标题这一块 -->
						<div class="title-article">
						            <div class="rp-title"><h1><?php the_title(); ?></h1></div>
<?php if(_read('rp-text-tishi-1')){ ?>
<div class="author-row ">
        <div><?php foreach((get_the_category()) as $category){echo $category->cat_name;} ?><span> · </span><?php the_time('Y年n月j日'); ?><span> · </span><?php post_views('',' 浏览'); ?><span><?php edit_post_link(' · [编辑]'); ?></span></div>
            </div><?php }?>
            <?php if(_read('rp-text-tishi-2')){ ?>
            <div class="text-center-tw">
                <p class="text-author"><span>VOL.<?php the_ID(); ?></span><?php _zz();?><?php the_time('Y/n/j'); ?></p>
            </div><?php }?>
						        </div>
								<!-- 内容 -->
						<div class="text-center">
							<div class="entry-content" itemprop="articleBody">
							    <?php the_content(); ?>
							</div>
						</div>
						<!-- tag -->
							<?php if(!empty(_read('rp-index-tag-switch'))){ ?>
						<section class="post-tag-container rp-top">
<?php if(get_the_tag_list()) {echo get_the_tag_list('<ul  class="post-tag-list"><li  class="post-tag-item">','</li><li>','</li></ul>');}?>
						</ul></section>
						<?php }?>
						<?php if(!empty(_read('rp-index-banquan-switch'))){ ?>
						<div class="bottom-copyright rp-top">
<?php _wenzhangbanquan();?>
						</div>
						<?php }?>
						<!-- 底部组件 -->
							<?php if(_read('rp-index-comments-switch') && comments_open()){ ?>
						<div class="content-components">
						    
						    <div class="social-sharing">
						      <div class="social-share" data-sites="weibo, qq, qzone"></div>
						        <div class="comm-tips"><a class=""><i class="fa fa-comments" aria-hidden="true"></i></a>
						        <?php
$post_info = get_post(get_the_ID(), ARRAY_A);
if($post_info['comment_count']){
?>
<?php echo number_format_i18n( get_comments_number() );?>条评论
<?php }else{?>
暂无评论
<?php }?>

						        </div>
						        
						    </div>
						    
						     <?php $file=""; $separate_comments="";?>
					<?php comments_template( $file, $separate_comments );?>
						</div>
						<?php } ?>
					</div>
		</div>
						
					</div>
				</div>
			</div>
			<!-- 底部 -->
			<?php _rp_nr_bottom_tool_kg();?>
		</div>
<!-- 页面布局结束 -->
<?php get_footer();?>